tests/libtest: check that we have setfattr
authorJonathan Lebon <jlebon@redhat.com>
Wed, 20 Sep 2017 17:07:54 +0000 (17:07 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 21 Sep 2017 21:50:40 +0000 (21:50 +0000)
commit95bfe6b8627d7184cc12db1772d537c575904583
treec4377600318ad3456dd73ef7fb56ea5f9d253a15
parent335f914d48064fe4e3abbbb3bf8b3e8605f262f9
tests/libtest: check that we have setfattr

We use `setfattr` to determine whether the filesystem we're on supports
xattrs, but we need to check that `setfattr` itself is available. We
just make it a hard requirement but only if trying to run tests that ask
about xattr support.

Closes: #1207
Approved by: cgwalters
tests/libtest.sh